package com.surfilter.massdata.es.core.service;

/**
 * 
 * es mapping构建类
 * 
 * @author liuchen
 *
 */
public interface EsMappingService {
	/**
	 * 创建ES mapping
	 * @throws Exception 
	 * 
	 * @Description: 
	 */
	public void init(String number_of_shards,String number_of_replicas) throws Exception;
	
	/**
	 * 优化索引
	 * 
	 * @Description: 
	 * @param client
	 * @param optimizeIndexName
	 */
	public void optimize(String optimizeIndexName);
	
	
}
